/* 唯一性焦点校验 */
function regNullBlur(){
	$(".blur-null").blur(function(e) {	
		
		var text = $(this).val();
		
		//移除所有信息
		$(this).parent().parent().parent().find(".help-block").remove();
		var msg = "";
		
		if(text == undefined || text == ""){
			msg = '<div class="col-sm-2"><p class="help-block"><i class="fa fa-times"></i></p></div>'
			$(this).parent().parent().parent().append(msg);
			$(this).parent().parent().parent().attr("class","form-group has-error");
		}else{
			msg = '<div class="col-sm-2"><p class="help-block"><i class="fa fa-check"></i></p></div>'
			$(this).parent().parent().parent().append(msg);
			$(this).parent().parent().parent().attr("class","form-group has-success");
		}		
		$(this).unbind("blur");
		$(this).unbind("focus");
		
		//注册获取焦点事件
		$(this).attr("class","form-control1 focus-on");
		regOnFocus();
		
	});
}

